<template>
    <main>
        <div class="left">
            <div>
                <dv-border-box-1>
                    <p style="flex: 1;width: 100%;text-align: center;font-size: 14px;padding-top: 15px;">学生学习方向</p>
                    <dv-conical-column-chart :config="jobConfig" style="flex: 6;width:95%;height: 140px;margin: auto;"/>
                </dv-border-box-1>
            </div>
            <div>
                <dv-border-box-9>
                    <p style="flex: 1;width: 100%;text-align: center;font-size: 14px;padding-top: 15px;">热门就业方向</p>
                    <dv-capsule-chart :config="hotConfig" style="flex: 6;width:95%;height: 140px;margin: auto;"/>
                </dv-border-box-9>
            </div>
            <div>
                <dv-border-box-10>
                    <p style="flex: 1;width: 100%;text-align: center;font-size: 14px;padding-top: 15px;">高薪就业率</p>
                    <dv-water-level-pond :config="waterConfig" style="flex: 6;width:95%;height: 140px;margin: auto;" />
                </dv-border-box-10>
            </div>
        </div>
        <div class="center">
            <dv-flyline-chart-enhanced :config="flylineConfig" style="width:100%;height:100%;" />
        </div>
        <div class="right">
            <div>
                <dv-border-box-13>
                    <p style="flex: 1;width: 100%;text-align: center;font-size: 14px;padding-top: 15px;">生源信息</p>
                    <dv-scroll-ranking-board :config="birthConfig" style="flex: 6;width:95%;height: 140px;margin: auto;"/>
                </dv-border-box-13>
            </div>
            <div>
                <dv-border-box-10>
                    <p style="flex: 1;width: 100%;text-align: center;font-size: 14px;padding-top: 15px;">就业学生</p>
                    <dv-scroll-board :config="moneyConfig" style="flex: 6;width:95%;height: 140px;margin: auto;"/>
                </dv-border-box-10>
            </div>
            <div>
                <dv-border-box-8 :reverse="true">
                    <p style="flex: 1;width: 100%;text-align: center;font-size: 14px;padding-top: 15px;">就业地区</p>
                    <dv-active-ring-chart :config="workcityConfig" style="flex: 6;width:100%;height: 140px;margin: auto;"/>
                </dv-border-box-8>
            </div>
        </div>
    </main>
</template>
<script>
import flylineConfig from '../../utils/flylineConfig';
import hotConfig from '../../utils/hotConfig';
import waterConfig from '@/utils/waterConfig';
import jobConfig from '@/utils/jobConfig';
import birthConfig from '@/utils/birthConfig';
import moneyConfig from '@/utils/moneyConfig';
import workcityConfig from '@/utils/workcityConfig';
export default {
    data(){
        return {
            flylineConfig,
            hotConfig,
            waterConfig,
            jobConfig,
            birthConfig,
            moneyConfig,
            workcityConfig
        }
    }
}
</script>
<style scoped>
main{
    flex: 9;
    width: 100%;
    display: flex;
}
main>div{
    height: 100%;
}
.left,.right{
    flex: 3;
    display: flex;
    flex-direction: column;
    color: #fff;
    box-sizing: border-box;
}
.left>div,.right>div{
    width: 100%;
    height: 100%;
    flex: 1;
    padding: 5px 0;
}
.center{
    flex: 5;
}
.dv-border-box-1,.dv-border-box-9,.dv-border-box-10,.dv-border-box-13,.dv-border-box-8{
    display: flex;
    flex-direction: column;
}
</style>